package com.woniuxy.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.FastjsonTypeHandler;

import java.util.List;

/**
 * @BelongsProject: Online-education-examination-platform-back
 * @BelongsPackage: com.woniuxy.entity
 * @Author: Banol Zi
 * @CreateTime: 2022-06-08  10:52
 * @Description: TODO
 * @Version: 1.0
 */
@TableName(value = "paper_item",autoResultMap = true)
public class PaperItem {
    private Integer id;
    private String name;
    private String type;
    private String diffculty;
    private String status;
    private Integer cid;
    private String item;

    @TableField(value="tids",typeHandler = FastjsonTypeHandler.class)
    private List<Integer> tids;

    public PaperItem() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getDiffculty() {
        return diffculty;
    }

    public void setDiffculty(String diff) {
        this.diffculty = diff;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public String getItem() {
        return item;
    }

    public void setItem(String item) {
        this.item = item;
    }

    public List<Integer> getTids() {
        return tids;
    }

    public void setTids(List<Integer> tids) {
        this.tids = tids;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

}
